# -*- encoding=utf8 -*-
import requests

class loginApi(object):

    @classmethod
    def login(cls, systemID, schoolID, pwd):

        # resp = requests.post(url="https://school.nicezhuanye.com/loginserv/login/login",
        #                      json={"parameter":{"systemID":"1008611","schoolID":"25166186","pwd":"aa123321","remPwd":False}})

        resp = requests.post(url="https://school.nicezhuanye.com/loginserv/login/login",
                             json={"parameter":{"systemID":systemID,"schoolID":schoolID,"pwd":"aa123321","remPwd":False}})

        print(resp.json())

        return resp


if __name__ == '__main__':
    loginApi().login()